.admin-console {
    min-height: 100vh;
    width: 100%;
    background-color: #f5f7fa;
  }
  

  .main-content {
    /* background-color: #b91c1c; */
    padding: 50px;
  }
  
  .top-buttons {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    justify-content: space-between; /* 左右对齐 */
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 1000px;
    width: 90%;
    margin-left: 55px;
    border: 1px solid #cfcfcfcb;
  }
  
  .left-buttons {
    display: flex;
    gap: 20px; /* 左侧按钮之间的间距 */
  }
  
  
  .action-btn {
    border-radius: 10px;
    padding: 20px 25px;
    font-size: 16px;
  }

  
  .department-section {
    margin-left: 55px;
    min-width: 1000px;
    width: 90%;
    background: white;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #cfcfcfcb;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
  }
  
  .section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 5px solid #1e88e5;
  }
  
  
  /* 修改部门组标题样式 */
  .department-title {
    font-size: 20px;
    color: #333;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
   
  }
  
  /* 部门管理区域 */
  .departments-container {
    display: flex;
    gap: 8px;
    margin-top: -20px;
    height: 100%;
  }
  
  .department-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: white;
    padding: 55px;
    border-radius: 8px;
  }
  
  .department-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .department-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 10px;
  }
  
  /* 修改滚动条样式 */
  .department-list::-webkit-scrollbar {
    width: 6px;
  }
  
  .department-list::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
  }
  
  .department-list::-webkit-scrollbar-track {
    background-color: #f5f7fa;
  }
  
  .department-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background: white;
    border-radius: 6px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    /* transition: all 0.3s; */
  }
  
  /* .department-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .department-item.active {
    border-left: 4px solid #1e88e5;
    padding-left: 11px;
  }
   */
  .delete-icon, .check-icon {
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    flex-shrink: 0;
    background-color: #c7c6c6;
    width: 40px;
    height: 45px;
    border-radius: 20%;
  }
  

  
  /* 修改添加按钮样式 */
  .add-btn {
    margin-bottom: 20px;
    margin-left: 55px;
    width: 78%;
    height: 45px;
    font-size: 16px;
    border-radius: 10px;
  }
  

  
  .delete-icon:hover {
    background-color: #f56c6c;
  }
  
  .check-icon:hover {
   background-color:  #1e88e5;;
  }
  
  .department-item.active .check-icon {
    background-color:  #1e88e5;;
  }

  .department-item.active .delete-icon {
    background-color: #f56c6c;
  }

  .department-item span {
    flex: 1;
    text-align: center;
    margin: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 38px;
    border: 1.4px rgb(188, 188, 188) solid;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    padding-left: 10px;
  }


  
  /* Element Plus 按钮样式覆盖 */
  :deep(.el-button--primary) {
    background-color: #1e88e5;
    border-color: #1e88e5;
  }
  
  :deep(.el-button--primary:hover) {
    background-color: #1976d2;
    border-color: #1976d2;
  }
  
  :deep(.el-button--danger) {
    background-color: #dc2626;
    border-color: #dc2626;
  }
  
  :deep(.el-button--danger:hover) {
    background-color: #b91c1c;
    border-color: #b91c1c;
  }